package org.wii.base.annotation;

import org.wii.base.exception.constant.ExceptionTypeEnum;

import java.lang.annotation.*;

/**
 * @author tanghong on 2022/12/22
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ExceptionModule {
    /**异常类型*/
    public ExceptionTypeEnum type() default ExceptionTypeEnum.USER;

    /**模块编码*/
    public String code();
}
